import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
//引入浏览器路由
import { BrowserRouter } from 'react-router-dom';
//使用redux
import { Provider } from 'react-redux';
import { store } from './redux/store';
//引入样式
import './styles/global.less';
import './styles/reset.less';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </Provider>
);
